| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

VertexCompositionWrapper.h
1 // VertexCompositionWrapper.h
3 //
5
6 namespace nkAstraeus::nkGraphicsWrap
7 {
11 class VertexCompositionWrapper final
12 {
13 public :
14
15 // Environment update
21 static void updateEnvironment (nkScripts::Environment* env) ;
22
23 // Callbacks
24 // Constructor, destructor
35 static void* constructor (const nkScripts::DataStack& stack) ;
41 static void destructor (void* toDestroy) ;
42 // Position
53 static nkScripts::OutputValue getPosition (void* data) ;
64 static void setPosition (const nkScripts::DataStack& stack) ;
65 // Normal
76 static nkScripts::OutputValue getNormal (void* data) ;
87 static void setNormal (const nkScripts::DataStack& stack) ;
88 // Color
99 static nkScripts::OutputValue getColor (void* data) ;
110 static void setColor (const nkScripts::DataStack& stack) ;
111 // Uv
122 static nkScripts::OutputValue getUv (void* data) ;
133 static void setUv (const nkScripts::DataStack& stack) ;
134 // Topology
145 static nkScripts::OutputValue getTopology (void* data) ;
156 static void setTopology (const nkScripts::DataStack& stack) ;
157 } ;
158 }
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::getTopology
static nkScripts::OutputValue getTopology(void *data)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::getColor
static nkScripts::OutputValue getColor(void *data)
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::getNormal
static nkScripts::OutputValue getNormal(void *data)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::setTopology
static void setTopology(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::setUv
static void setUv(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::getPosition
static nkScripts::OutputValue getPosition(void *data)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::setPosition
static void setPosition(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::constructor
static void * constructor(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::setColor
static void setColor(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper
Wraps a nkGraphics::VertexComposition and offers functions for use in scripting.
Definition: VertexCompositionWrapper.h:12
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for scripting.
Definition: BoundingBoxWrapper.h:7
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::getUv
static nkScripts::OutputValue getUv(void *data)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::destructor
static void destructor(void *toDestroy)
nkAstraeus::nkGraphicsWrap::VertexCompositionWrapper::setNormal
static void setNormal(const nkScripts::DataStack &stack)